package com.hxxy.wyp.petsLover.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxxy.wyp.petsLover.common.entities.Orders;
import com.hxxy.wyp.petsLover.common.entities.vo.req.DashboardOrderVo;
import com.hxxy.wyp.petsLover.common.entities.vo.resp.DashboardVo;

import java.util.List;

public interface OrdersMapper extends BaseMapper<Orders> {
    List<DashboardVo> sumPriceGroupByDate();

    List<DashboardOrderVo> sumOrderNums();

    Integer sumOrderMoneyByDay(String dayTime);
}
